package com.project.oj.model.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;


@TableName(value = "question")
@Data
public class Question implements Serializable {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;


    private String title;


    private String content;


    private String tags;


    private String answer;


    private Integer submitNum;


    private Integer acceptedNum;


    private String judgeCase;


    private String judgeConfig;


    private Integer thumbNum;


    private Integer favourNum;


    private Long userId;


    private Date createTime;


    private Date updateTime;

    @TableLogic
    private Integer isDelete;

    private Integer difficulty;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}